import {observable, action} from 'mobx'
import { getSingerLis } from "@/api/index";

class Singer {
    namespace="singer"
    @observable singer=[];

    @action.bound
    async getSingerLis(){
        const result =await getSingerLis();
        this.singer=result.data.data.artists;
    }
 
}
export default new Singer();